package cn.amebius;

import cn.amebius.testmethod.ExecTestMethod;
import cn.amebius.thread.AttachConsoleThread;
import cn.amebius.thread.LogConsoleThread;
import cn.amebius.util.DockerClientUtil;
import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.api.async.ResultCallback;
import com.github.dockerjava.api.command.AttachContainerCmd;
import com.github.dockerjava.api.command.ExecCreateCmdResponse;
import com.github.dockerjava.api.command.LogContainerCmd;
import com.github.dockerjava.api.model.Frame;
import com.github.dockerjava.api.model.Info;
import com.github.dockerjava.api.model.StreamType;
import com.github.dockerjava.core.DockerClientBuilder;
import com.github.dockerjava.core.command.AttachContainerResultCallback;
import com.github.dockerjava.core.command.ExecStartResultCallback;
import com.github.dockerjava.core.command.LogContainerResultCallback;
import com.github.dockerjava.jaxrs.LogContainerCmdExec;

import java.io.IOException;
import java.io.InputStream;
import java.util.concurrent.TimeUnit;


/**
 * @author 阿伟
 * @date 2023/7/20 19:39
 */
public class Main {
    public static void main(String[] args){
//        LogConsoleThread lct = new LogConsoleThread();
//        lct.start();
        AttachConsoleThread act = new AttachConsoleThread();
        act.start();
    }

}